package com.design.adapter.print;

// 旧的打印类，提供了不兼容的方法
class LegacyPrinter {
    public void print(String text) {
        System.out.println("LegacyPrinter: " + text);
    }
}
